#include "ex16_14.h"
std::istream &operator>>(std::istream &is, xyc &c) {
  is >> c.x;
  is >> c.y;
  is >> c.c;
  return is;
}
int main() {
  using namespace std;
  Screen<6, 6> scr('-');
  cout << scr;
  cin >> scr;
  cout << scr;
  system("pause");
  return 0;
}